function Player(url,w,h) {

//1为是，0为否 
var p = '<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,1,5,217"id=MediaPlayer type=application/x-oleobject width="'+w+'" height="'+h+'" standby="Loading Microsoft Windows Media Player components..." VIEWASTEXT align=MIDDLE>';

p += '<param name=AudioStream value="1">';

//是否自动调整大小

p += '<param name=AutoSize value="0">';

//是否自动播放

p+='<param name=AutoStart value="1">';

p+='<param name=AnimationAtStart value="1">'

p+='<param name=AllowScan value=-1>';

p+='<param name=AllowChangeDisplaySize value="0">';

p += '<param name=AutoRewind value="0">';

p+='<param name=Balance value="0">';

p+='<param name=BaseURL value="">';

p+='<param name=BufferingTime value="5">';

p+='<param name=CaptioningID value="">';

p+='<param name=ClickToPlay value="0">';

p+='<param name=CursorType value="32512">';

p+='<param name=CurrentPosition value="-1">';

p+='<param name=CurrentMarker value="0">';

p+='<param name=DefaultFrame value="1">';

p+='<param name=DisplayBackColor value="0">';

p+='<param name=DisplayForeColor value="16777215">';

p+='<param name=DisplayMode value="0">';

p+='<param name=DisplaySize value="0">';

p+='<param name=Enabled value="-1">';

p+='<param name=EnableContextMenu value="-1">';

p+='<param name=EnablePositionControls value="0">';

p+='<param name=EnableFullScreenControls value="0">';

p+='<param name=EnableTracker value="1">';

p+='<param name=Filename value="'+url+'">';

p+='<param name=InvokeURLs value="-1">';

p+='<param name=Language value="-1">';

p += '<param name=Mute value="0">';

//播放次数1为循环播放0为播放一次

p+='<param name=PlayCount value="1">';

p+='<param name=PreviewMode value="0">';

p+='<param name=Rate value="1">';

p+='<param name=SAMILang value="">';

p+='<param name=SAMIStyle value="">';

p+='<param name=SAMIFileName value="">';

p+='<param name=SelectionStart value="0">';

p+='<param name=SelectionEnd value="true">';

p+='<param name=SendOpenStateChangeEvents value="-1">';

p+='<param name=SendWarningEvents value="-1">';

p+='<param name=SendErrorEvents value="-1">';

p+='<param name=SendKeyboardEvents value="0">';

p+='<param name=SendMouseClickEvents value="0">';

p+='<param name=SendMouseMoveEvents value="0">';

p += '<param name=SendPlayStateChangeEvents value="-1">';

//可以根据属性值0或1来选择显示或不显示某一个功能面板

p+='<param name=ShowCaptioning value="0">';

p+='<param name=ShowControls value="1">';

p+='<param name=ShowAudioControls value="0">';

p+='<param name=ShowDisplay value="0">';

p += '<param name=ShowGotoBar value="0">';

//显示前进后退

p += '<param name=ShowPositionControls value="0">';

//显示播放进度时间

p += '<param name=ShowStatusBar value="1">';

//是否显示进度条

p += '<param name=ShowTracker value="0">';

p+='<param name=TransparentAtStart value="0">';

p += '<param name=VideoBorderWidth value="0">';

p += '<param name=VideoBorderColor value="0">';

p+='<param name=VideoBorder3D value="0">';

p+='<param name=Volume value="-1070">';

p+='<param name=WindowlessVideo value="1">';

p += '</object>';

//return p;

document.write(p);

}